package com.site.wisdom_construction.dao.personnelModule;

import com.site.wisdom_construction.entity.personnelModule.EducationSecurityQuestions;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/4/23
 * @Description
 */
public interface EducationSecurityQuestionsDao {
    /** 新增入岗教育安全培训考试试题 */
    int insertEducationSecurityQuestions(Map map);

    /** 删除入岗教育安全培训考试试题 */
    int deleteEducationSecurityQuestions(Map map);

    /** 修改入岗教育安全培训考试试题 */
    int updateEducationSecurityQuestions(Map map);

    /** 分页模糊查询入岗教育安全培训考试试题 */
    List<EducationSecurityQuestions> findEducationSecurityQuestionsByPage(Map map);

    /** 统计总数 */
    long Total(Map map);

    /** 根据工种id查询对应入岗教育安全培训考试试题 */
    EducationSecurityQuestions findEducationSecurityQuestionsByEducationProfessionId(Map map);
}
